import request from "@/utils/request";

const UserAPI = {
  login(data) {
    return request.post("/user/login", data);
  },
  
  logout() {
    return request.post("/user/logout");
  },
  
  getUserInfo() {
    return request.get("/user/info");
  }
};
export default UserAPI;
